package com.css.zfzx.fwsjcj.modules.structure.repository;

import com.css.zfzx.fwsjcj.modules.structure.vo.ExportForBuildingAreaVo;
import com.css.zfzx.fwsjcj.modules.structure.vo.ExportForBuildingAreaWithTaskVo;
import com.css.zfzx.fwsjcj.modules.structure.vo.ExportForBuildingVo;
import com.css.zfzx.fwsjcj.modules.structure.vo.ExportForBuildingWithTaskVo;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author DBJ
 */
@Repository
public interface FwStructureFormQueryRepository {
    List<ExportForBuildingVo> getAllData(@Param("status") String status);

    List<ExportForBuildingVo> getAllDataByProvinceName(@Param("belongtoProvince")String belongtoProvince,@Param("status") String status);

    List<ExportForBuildingWithTaskVo> getAllDataWithTask(@Param("status") String status);

    List<ExportForBuildingWithTaskVo> getAllDataWithTaskByProvinceName(@Param("belongtoProvince")String belongtoProvince,@Param("status") String status);

    List<ExportForBuildingAreaVo> getAllAreaData(@Param("belongtoProvince")String belongtoProvince,@Param("status") String status);

    List<ExportForBuildingAreaWithTaskVo> getAllAreaDataWithTask(@Param("belongtoProvince")String belongtoProvince,@Param("status") String status);
}
